package com.eastfair.venueservice.dto;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 服务商用户关系
 * </p>
 *
 * @author ligang
 * @since 2023-02-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ServiceProviderUserPageQuery", description = "服务商用户关系")
public class ServiceProviderUserPageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 是否启用（确认状态）：1是 已确认；0否 未确认
     */
    @ApiModelProperty(value = "是否启用（确认状态）：1是 已确认；0否 未确认")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 服务商ID
     */
    @ApiModelProperty(value = "服务商ID")
    private Long serviceProviderId;
    /**
     * 服务商类型
     */
    @ApiModelProperty(value = "服务商类型")
    private String serviceProviderType;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    /**
     * 用户是否主账号(0:否;1:是)
     */
    @ApiModelProperty(value = "用户是否主账号(0:否;1:是)")
    private Integer isMainAccount;
    /**
     * 是否是用户首次注册的服务商(0:否 1:是)
     */
    @ApiModelProperty(value = "是否是用户首次注册的服务商(0:否 1:是)")
    private Integer isUserFirstRegister;
    /**
     * cms同步状态 0:未同步; 1:已同步
     */
    @ApiModelProperty(value = "cms同步状态 0:未同步; 1:已同步")
    private Integer cmsSync;

}
